package com.forekenow.Demo9;

/**
 * 自定义异常
 * public class CustomException extends Exception
 */
public class CustomException extends Exception{
    public CustomException(){

    }
    //子类当中自定义的构造器，主要想调用父类中的构造器，打印异常的详细信息
    public CustomException(String s){
        super(s);
    }
}
